#ifndef __TASK_H
#define	__TASK_H

#include "stm32f1xx.h"

#define MAX_TIMER    3

extern volatile unsigned long g_SysTick[MAX_TIMER];

#define led1Timer    g_SysTick[0]
#define led2Timer    g_SysTick[1]
#define led3Timer    g_SysTick[2]

#define SysTick_SEC  (1)
#define SysTick_MIN  (SysTick_SEC*60)

void Task_init(void);
void Task_loop(void);
static void Task_led1(void);
static void Task_led2(void);
static void Task_led3(void);


#endif

